<#--声明表名称-->
<#assign tableName="${table.comment?replace('信息','')?replace('表','')}"/>

/**
 * ${tableName}数据对象
 */
export interface I${entity}Data {
<#list table.fields as field>
    ${field.propertyName}?: ${field.propertyType}
</#list>
}

/**
 * 分页查询对象
 */
export interface I${entity}SearchQuery {
<#list table.fields as field>
    ${field.propertyName}?: ${field.propertyType}
</#list>
}

/**
 * 更新的数据模型
 */
export interface Update${entity}Form {
    id: string
    updateModel: I${entity}Data
}
